/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package appClientHandler;

import entities.Account;
import entities.Cart;
import entities.Commande;
import java.util.List;
import sessions.AccountFacadeLocal;

import javax.ejb.TransactionManagement;
import javax.ejb.TransactionManagementType;
import javax.ejb.EJB;
import javax.ejb.Local;
import javax.ejb.Remove;
import javax.ejb.Stateful;

/**
 *
 * eCOM - Adopte un Presta - Mars-Avril 2013
 * @author Kheira, Jef, William, Tuan-Long
 */
@Local
public interface AUPBeanGestionCartLocal 
{
    List<Commande> getCartContents(Cart cart);
    void addProductToCart(Cart cart, int idProduct);
    void removeProductFromCart(Cart cart, int idProduct);
    void buyCartWith(Cart cart,String iban);
    Long getTotalValue(Cart cart);    
}
